package com.hl.card.common.persistence.model;


/**
 * 子节点配置
 * 
 * @author 袁伟
 *
 */
public class ConfigChild implements  Comparable<ConfigChild>{
	private String name; // 名称
	private String img; // 图片
	private String code; // 编号
	private int sort;   //排序字段
	private String action;  //执行动作 
    private String default_url;  //默认url
    private String app_url;  //app  url
    private String web_url;  //web url
	public String getDefault_url() {
		return default_url;
	}

	public void setDefault_url(String default_url) {
		this.default_url = default_url;
	}

	public String getApp_url() {
		return app_url;
	}

	public void setApp_url(String app_url) {
		this.app_url = app_url;
	}

	public String getWeb_url() {
		return web_url;
	}

	public void setWeb_url(String web_url) {
		this.web_url = web_url;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}
	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Override
	public int compareTo(ConfigChild o) {
	   return	this.sort - o.sort;
	}

}
